<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://"
	+ request.getServerName() + ":" + request.getServerPort()
	+ request.getContextPath() + "/";
	String username = "";
	String password = "";
	username = request.getParameter("username");
	password = request.getParameter("password");
	if ("root".equals(username) && "123456".equals(password)) {
		request.getRequestDispatcher("login_success.jsp").forward(request, response);
	} else {
		response.sendRedirect("login_failure.jsp");
	}
%>